﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cms.Utilities
{
    public class DefaultDateTimeProvider : DateTimeProvider
    {
        private readonly static DefaultDateTimeProvider _instance = new DefaultDateTimeProvider();

        private DefaultDateTimeProvider()
        {
        }

        public static DateTimeProvider Instance
        {
            get { return DefaultDateTimeProvider._instance; }
        }

        public override DateTime Now
        {
            get { return DateTime.Now; }
        }
    }
}
